import {defineStore} from 'pinia';

const UseUserStore = defineStore({
    id: 'UseUserStore',

    state: () => ({
        info: 'pinia 可以使用',
        userInfo: {
            username: '',
            password: ''
        },
        userMean: [{
            path: '/test',
            icon: 'User',
            title: '请登录获取动态菜单'
        }]
    }),
    // 开启数据缓存

    persist: true,
});
export default UseUserStore;

